package com.itheima.entity;

/**
 * @author ChaunceyZhang
 * @date 2022-10-21 15:00
 * @blog1 https://zephyr-cyber.github.io/
 * @blog2 https://www.yuque.com/gougougou-xwscx
 */
public interface CodeConstant {

    Integer SAVE_OK = 20011;
    Integer DELETE_OK = 20021;
    Integer UPDATE_OK = 20031;
    Integer GET_OK = 20041;

    Integer SAVE_ERROR = 20010;
    Integer DELETE_ERROR = 20020;
    Integer UPDATE_ERROR = 20030;
    Integer GET_ERROR = 20040;

    Integer EXCEPTION_OK = 666;

    Integer SYSTEM_ERROR = 50001;
    Integer SYSTEM_TIMEOUT_ERROR = 50002;
    Integer SYSTEM_UNKNOWN_ERROR = 59999;
    Integer BUSINESS_ERROR = 60002;

}
